home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / WSMENU.AML < prev    next >
Text File  |  1996-07-17  |  17KB  |  445 lines

  1. //--------------------------------------------------------------------
  2. // The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
  3. //
  4. // MENU.AML
  5. // WordStar/Borland IDE Menu definitions (included by Main.aml)
  6. //
  7. // If you have made any changes, save this file and select Recompile
  8. // the Editor from the Set menu. Exit and re-enter the editor for
  9. // your changes to take effect.
  10. //--------------------------------------------------------------------
  11.  
  12. //--------------------------------------------------------------------
  13. // Edit Window menu bar and tool bar
  14. //--------------------------------------------------------------------
  15.  
  16. function  EditMen
  17.  
  18.   // menu bar
  19.   menubar "" 1
  20.     item "&File"     "editFile"
  21.     item "&Window"   "editWindow"
  22.     item "&Block"    "editBlock"
  23.     item "&Search"   "editSearch"
  24.     item "F&old"     "editFold"
  25.     item "&Edit"     "editEdit"
  26.     item "&Clip"     "editClip"
  27.     item "&Print"    "editPrint"
  28.     item "Se&t"      "editSet"
  29.     item "M&acro"    "editMacro"
  30.     item "&Help"     "editHelp"
  31.   end
  32.  
  33.   // tool bar
  34.   menubar "" 2
  35.     item "<&&≡>"     toolbar                 // close tool bar
  36.     item "<&&?>"     quickref 'u' 'f'        // users guide
  37.     item "<&&*>"     open "*.*"              // display file manager
  38.     item "<&&/>"     copywin                 // copy window
  39.     item "<&&─>"     splitwin 'h'            // split window horz
  40.     item "<&&|>"     splitwin 'v'            // split window vert
  41.     item "<&&o>"     askopen                 // open prompt
  42.     item "<&&s>"     save                    // save file
  43.     item "<&&F>"     askfind                 // find prompt
  44.     item "<&&f>"     findlast                // do last find/replace
  45.     item "<&&r>"     formatblock2            // reformat block
  46.     item "<&&«>"     undo                    // undo last change
  47.     item "<&&»>"     redo                    // redo last change
  48.     item "<&&>>"     foldblock2              // fold block
  49.     item "<&&<>"     destroyfold2            // destroyfold
  50.   end
  51. end
  52.  
  53.  
  54. //--------------------------------------------------------------------
  55. // Edit Window pulldown menus
  56. //--------------------------------------------------------------------
  57.  
  58. menu  "editFile"
  59.   item " &New"                              opennew
  60.   item " &Open..      <ctrl k><e> or <f3>"  askopen
  61.   item " Open &Binary.."                    askopenb
  62.   item " Open and &Insert..   <ctrl k><r>"  askinsert
  63.   //item " Open Last&..             <alt z>"  openlast
  64.   item " &Rename..                <alt n>"  askname
  65.   item " &Save        <ctrl k><s> or <f2>"  save
  66.   item " Sa&ve As.."                        asksaveas
  67.   item "-"
  68.   item " &File Manager..             <f4>"  open "*.*"
  69.   item " &Tree.."                           runmacro2 "tree"
  70.   item " Ne&xt"                             nextfile
  71.   item " &Prev"                             prevfile
  72.   item " &List..                  <alt 0>"  filelist
  73.   item "─"
  74.   item " &Close               <ctrl k><q>"  close
  75.   item " Close &All               <alt x>"  closeall
  76.   item " Sav&e and Close      <ctrl k><x>"  close 's'
  77.   item " Save an&d Close All"               closeall 's'
  78.   item "─"
  79.   item " Abo&ut.."                          about
  80. end
  81.  
  82.  
  83. menu  "editWindow"
  84.   item " &Restore"                       restore
  85.   item " &Move/Size         <ctrl f5>"   sizekey
  86.   item " P&an               <ctrl f6>"   pankey
  87.   item " M&inimize"                      minimize
  88.   item " Ma&ximize               <f5>"   maximize
  89.   item " &Next                   <f6>"   nextwindow
  90.   item " &Prev             <shift f6>"   prevwindow
  91.   item " &List.."                        winlist
  92.   item "─"
  93.   item " &Copy            <ctrl q><w>"   copywin
  94.   item " Split Hor&z"                    splitwin 'h'
  95.   item " Split Ver&t      <ctrl q><v>"   splitwin 'v'
  96.   item "─"
  97.   item " Ca&scade          <shift f5>"   cascade
  98.   item " Tile &Horz        <shift f4>"   tile 'h'
  99.   item " Tile &Vert        <shift f3>"   tile 'v'
  100.   item "─"
  101.   item " Tool &Bar          <ctrl f8>"   toolbar
  102.   item " Pr&ompt Style.."                runcfg "prom"
  103. end
  104.  
  105. // wordstar emulation only
  106. forward  markblock
  107. forward  marktoggle
  108.  
  109. menu  "editMark"
  110.   item " Mark &Line           <ctrl k><l>"  markline
  111.   item " Mark &Block          <ctrl k><b>"  markblock
  112.   item " Mark &Toggle Column  <ctrl k><n>"  marktoggle
  113.   item " Mark C&haracter"                   markchar
  114.   item " Mark &Word           <ctrl k><t>"  markword
  115.   item " Mark to &EOL             <alt 2>"  markeol
  116.   item " Mark &Paragraph          <alt 3>"  markpara "tb"
  117.   item "─"
  118.   item " &Unmark              <ctrl k><h>"  destroymark
  119. end
  120.  
  121. menu  "editBlock"
  122.   item " Mar&k..                    "    submenu "editMark"
  123.   item " &Copy            <ctrl k><c>"    copyblock2
  124.   item " &Move            <ctrl k><v>"    moveblock2
  125.   item " Copy &Over       <ctrl k><z>"    copyblockover
  126.   item " Mo&ve Over"                      moveblockover
  127.   item " &Delete          <ctrl k><y>"    deleteblock2
  128.   item " &Indent          <ctrl k><i>"    shiftblock  1
  129.   item " UnInden&t        <ctrl k><u>"    shiftblock -1
  130.   item "─"
  131.   item " &Fill            <ctrl k><f>"    fillblock2
  132.   item " S&ave..          <ctrl k><w>"    saveblock2
  133.   item " &Sort            <ctrl k><o>"    sortblock2
  134.   item " Lo&wercase"                      caseblock 'l'
  135.   item " U&ppercase"                      caseblock
  136.   item "─"
  137.   item " Ce&nter"                         justblock2 'c'
  138.   item " &Left Justify"                   justblock2 'l'
  139.   item " Ri&ght Justify"                  justblock2 'r'
  140.   item " &Reformat           <ctrl b>"    formatblock2
  141.   item " R&eformat Right      <alt y>"    formatblock2 "rj"
  142. end
  143.  
  144. menu  "editSearch"
  145.   item " &Find..                <ctrl q><f>"   askfind
  146.   item " Re&place..             <ctrl q><a>"   askrepl
  147.   item " &Repeat Last Find/Repl    <ctrl l>"   findlast
  148.   item " &Scan Files..          <ctrl o><s>"   askscan
  149.   item " &Incremental Search    <ctrl q><i>"   isearch
  150.   item " Find &Occurrences.."                  askfindo
  151.   item "─"
  152.   item " &Quick Bookmark           <ctrl 2>"   quickbook
  153.   item " Pre&v Bookmark            <ctrl 6>"   cyclebook
  154.   item " Place &Bookmark.."                    placebook
  155.   item " &Go to Bookmark.."                    askbook
  156.   item "─"
  157.   item " Go to &Line..          <ctrl q><j>"   askrow
  158.   item " Go to Bloc&k Start     <ctrl q><b>"   gotomark 't'
  159.   item " Go to Block En&d"                     gotomark 'b'
  160.   item " Go to Ne&xt Fold           <alt 7>"   search2 "f/f"
  161.   item "─"
  162.   item " Find &Matching Char    <ctrl q><[>"   gotomatch2
  163.   item " Go to Compiler &Error     <alt f7>"   gotoerror
  164. end
  165.  
  166. menu  "editFold"
  167.   item " &Fold Next Line          <alt 8>"    foldline
  168.   item " &Unfold Next Line        <alt 9>"    foldline 'u'
  169.   item "─"
  170.   item " Crea&te Fold"                        createfold
  171.   item " &Open Fold               <alt \\>"   openfold
  172.   item " &Close Fold              <alt \\>"   closefold
  173.   item " &Remove Fold             <alt g>"    destroyfold2
  174.   item "─"
  175.   item " Fold Bloc&k"                         foldblock2
  176.   item " Fold Block Fl&at"                    foldflat
  177.   item " O&pen Block Folds"                   foldblock 'os'
  178.   item " C&lose Block Folds"                  foldblock 'cs'
  179.   item " Re&move Block Folds"                 foldblock 'ds'
  180.   item "─"
  181.   item " Ope&n All Folds          <alt [>"    foldall 'os'
  182.   item " Clo&se All Folds         <alt ]>"    foldall 'cs'
  183.   item " Remo&ve All Folds"                   foldall 'ds'
  184.   item "─"
  185.   item " &Export without Folds.."             asksaveas 'x'
  186.   item " E&xport Block without Folds.."       saveblock2 'x'
  187. end
  188.  
  189. menu  "editEdit"
  190.   item " &Undo                  <ctrl u>"   undo
  191.   item " &Redo               <ctrl o><r>"   redo
  192.   item "─"
  193.   item " &Insert Line       <ctrl enter>"   insline2
  194.   item " &Delete Line           <ctrl y>"   delline
  195.   item " &Join Line              <alt j>"   joinline
  196.   item " &Split Line            <ctrl n>"   splitline2
  197.   item "─"
  198.   item " Ce&